home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / DJGPP / QDDVX102.ZIP / contrib / dvx / inc / x11 / shell.h < prev    next >
C/C++ Source or Header  |  1993-07-15  |  5KB  |  149 lines

  1. /*
  2. * $XConsortium: Shell.h,v 1.21 89/12/13 08:57:08 swick Exp $
  3. * $oHeader: Shell.h,v 1.2 88/08/18 15:56:14 asente Exp $
  4. */
  5. /***********************************************************
  6. Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,
  7. and the Massachusetts Institute of Technology, Cambridge, Massachusetts.
  8.  
  9.                         All Rights Reserved
  10.  
  11. Permission to use, copy, modify, and distribute this software and its 
  12. documentation for any purpose and without fee is hereby granted, 
  13. provided that the above copyright notice appear in all copies and that
  14. both that copyright notice and this permission notice appear in 
  15. supporting documentation, and that the names of Digital or MIT not be
  16. used in advertising or publicity pertaining to distribution of the
  17. software without specific, written prior permission.  
  18.  
  19. DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
  20. ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
  21. DIGITAL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
  22. ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  23. WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
  24. ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
  25. SOFTWARE.
  26.  
  27. ******************************************************************/
  28.  
  29. #ifndef _XtShell_h
  30. #define _XtShell_h
  31.  
  32. /***********************************************************************
  33.  *
  34.  * Shell Widget
  35.  *
  36.  ***********************************************************************/
  37. /*
  38.  * Shell specific atoms
  39.  */
  40. #define XtNiconName "iconName"
  41. #define XtCIconName "IconName"
  42. #define XtNiconPixmap "iconPixmap"
  43. #define XtCIconPixmap "IconPixmap"
  44. #define XtNiconWindow "iconWindow"
  45. #define XtCIconWindow "IconWindow"
  46. #define XtNiconMask "iconMask"
  47. #define XtCIconMask "IconMask"
  48. #define XtNwindowGroup "windowGroup"
  49. #define XtCWindowGroup "WindowGroup"
  50. #define XtNvisual "visual"
  51. #define XtCVisual "Visual"
  52. #define XtNtitleEncoding "titleEncoding"
  53. #define XtCTitleEncoding "TitleEncoding"
  54.  
  55. #define XtNsaveUnder "saveUnder"
  56. #define XtCSaveUnder "SaveUnder"
  57. #define XtNtransient "transient"
  58. #define XtCTransient "Transient"
  59. #define XtNoverrideRedirect "overrideRedirect"
  60. #define XtCOverrideRedirect "OverrideRedirect"
  61. #define XtNtransientFor "transientFor"
  62. #define XtCTransientFor "TransientFor"
  63.  
  64. #define XtNiconNameEncoding "iconNameEncoding"
  65. #define XtCIconNameEncoding "IconNameEncoding"
  66.  
  67. #define XtNallowShellResize "allowShellResize"
  68. #define XtCAllowShellResize "AllowShellResize"
  69. #define XtNcreatePopupChildProc "createPopupChildProc"
  70. #define XtCCreatePopupChildProc "CreatePopupChildProc"
  71.  
  72. #define XtNtitle "title"
  73. #define XtCTitle "Title"
  74.  
  75. #define XtRAtom "Atom"
  76.  
  77. /* 
  78.  * The following are only used at creation and can not be changed via 
  79.  * SetValues.
  80.  */
  81.  
  82. #define XtNargc        "argc"
  83. #define XtCArgc "Argc"
  84. #define XtNargv "argv"
  85. #define XtCArgv "Argv"
  86. #define XtNiconX "iconX"
  87. #define XtCIconX "IconX"
  88. #define XtNiconY "iconY"
  89. #define XtCIconY "IconY"
  90. #define XtNinput "input"
  91. #define XtCInput "Input"
  92. #define XtNiconic "iconic"
  93. #define XtCIconic "Iconic"
  94. #define XtNinitialState "initialState"
  95. #define XtCInitialState "InitialState"
  96. #define XtNgeometry "geometry"
  97. #define XtCGeometry "Geometry"
  98. #define XtNbaseWidth "baseWidth"
  99. #define XtCBaseWidth "BaseWidth"
  100. #define XtNbaseHeight "baseHeight"
  101. #define XtCBaseHeight "BaseHeight"
  102. #define XtNwinGravity "winGravity"
  103. #define XtCWinGravity "WinGravity"
  104. #define XtNminWidth "minWidth"
  105. #define XtCMinWidth "MinWidth"
  106. #define XtNminHeight "minHeight"
  107. #define XtCMinHeight "MinHeight"
  108. #define XtNmaxWidth "maxWidth"
  109. #define XtCMaxWidth "MaxWidth"
  110. #define XtNmaxHeight "maxHeight"
  111. #define XtCMaxHeight "MaxHeight"
  112. #define XtNwidthInc "widthInc"
  113. #define XtCWidthInc "WidthInc"
  114. #define XtNheightInc "heightInc"
  115. #define XtCHeightInc "HeightInc"
  116. #define XtNminAspectY "minAspectY"
  117. #define XtCMinAspectY "MinAspectY"
  118. #define XtNmaxAspectY "maxAspectY"
  119. #define XtCMaxAspectY "MaxAspectY"
  120. #define XtNminAspectX "minAspectX"
  121. #define XtCMinAspectX "MinAspectX"
  122. #define XtNmaxAspectX "maxAspectX"
  123. #define XtCMaxAspectX "MaxAspectX"
  124. #define XtNwmTimeout "wmTimeout"
  125. #define XtCWmTimeout "WmTimeout"
  126. #define XtNwaitForWm "waitforwm"
  127. #define XtCWaitForWm "Waitforwm"
  128.  
  129. /* Class record constants */
  130.  
  131. typedef struct _ShellClassRec *ShellWidgetClass;
  132. typedef struct _OverrideShellClassRec *OverrideShellWidgetClass;
  133. typedef struct _WMShellClassRec *WMShellWidgetClass;
  134. typedef struct _TransientShellClassRec *TransientShellWidgetClass;
  135. typedef struct _TopLevelShellClassRec *TopLevelShellWidgetClass;
  136. typedef struct _ApplicationShellClassRec *ApplicationShellWidgetClass;
  137.  
  138. #ifndef SHELL 
  139. externalref WidgetClass shellWidgetClass;
  140. externalref WidgetClass overrideShellWidgetClass;
  141. externalref WidgetClass wmShellWidgetClass;
  142. externalref WidgetClass transientShellWidgetClass;
  143. externalref WidgetClass topLevelShellWidgetClass;
  144. externalref WidgetClass applicationShellWidgetClass;
  145. #endif
  146.  
  147. #endif /* _XtShell_h */
  148. /* DON'T ADD STUFF AFTER THIS #endif */
  149.